﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ExtraOpdrachten
{
    public partial class Opdracht2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnCalculate_Click(object sender, EventArgs e)
        {
            double sourceCurrency = double.Parse(txtMoney.Value);
            double convertedCurrency = sourceCurrency * 1.12;
            lblResult.Text = convertedCurrency.ToString() + " dollars";
        }
    }
}